home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Magazine / UKOnline-Trial / ENV / NetConfig / Dialscript < prev    next >
Text File  |  1997-08-20  |  476b  |  30 lines

  1. /*  This Script will connect to the provider
  2.  *  and login using the login-script in
  3.  *  ENV:NetConfig/LoginScript
  4.  *
  5.  *  Do not modify anything since AmiTCP Prefs
  6.  *  depends on it.
  7.  */
  8.  
  9. options results
  10. signal on error
  11.  
  12. Set WaitForTimeout 30
  13. Set InterCharDelay 20
  14.  
  15. ShowConsole
  16.  
  17. call CommandState
  18. call Dial
  19.  
  20. if (result != 0) then
  21.   exit 10
  22.  
  23. call "ENV:NetConfig/LoginScript"
  24.  
  25. exit 0;
  26.  
  27. error:
  28. Say "Dialscript: Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
  29. Exit 10
  30.